package com.easy.admin.system.dao.elasticsearch;

import com.easy.admin.system.model.Persion;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Component
public interface ElasticSearchDao extends ElasticsearchRepository<Persion,String> {

    /**
     * 查询员工信息
     */
    Persion queryPersionById(String id);
}
